<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title><fmt:message key="event.info.detail.title" /></title>
<meta name="heading"
				content="<fmt:message key='event.info.detail.title'/>" />
	<script type="text/javascript" language="javascript" src="<c:url value='/My97DatePicker/WdatePicker.js'/>"></script>
</head>
  
<body>
	<form:form method="get">
		<fmt:message key="event.info.starttime" />:
		&nbsp;<input id="_startTime" class="Wdate" name="startTime" type="text"
			 value="${startTime }" onfocus="WdatePicker()"/>&nbsp; 
		<fmt:message key="event.info.endtime" />:
		&nbsp;<input id="_endTime" class="Wdate" name="endTime" type="text"
			 value="${endTime }" onfocus="WdatePicker()"/>
		<input type="submit" value="<fmt:message key='button.query' />"/> 
	</form:form>
	
	<p>
		<fmt:message key="event.total.hours">
			<fmt:param>${totalHours }</fmt:param>
		</fmt:message>
	</p>

	<display:table class="table" name="events" requestURI="/event/findEvents.html" uid="event">
		<display:column property="eventName" url="/event/getEventInfo.html" paramId="id" paramProperty="id" titleKey="event.info.name"></display:column>
		<display:column titleKey="event.info.duration" sortable="true">${event.duration }</display:column>
		<display:column titleKey="event.info.starttime" sortable="true">${event.startDate }&nbsp;${event.startTime }</display:column>
		<display:column titleKey="event.info.endtime" sortable="true">${event.endDate }&nbsp;${event.endTime }</display:column>
		<display:column property="budgetCenter.bcName" titleKey="budget.list.bc.name" sortable="true"></display:column>
		<%--<display:column titleKey="button.delete" class="delete">
			<a href="/event/deleteMyEvent.html?id=${event.id }" onclick="return confirm('<fmt:message key="button.delete.message"/>');"><fmt:message key="button.delete"></fmt:message></a>
		</display:column> --%>
	</display:table>

</body>
</html>